package com.mynature.booking.manager;

import com.mynature.booking.model.Person;

public class PersonManager {

	private Person firstPerson;

	private static PersonManager sInstance;
	
	
	/**
	 * 
	 */
	private PersonManager() {
		super();
		
		firstPerson = new Person();
	}

	public PersonManager getInstance(){
		
		if (null == sInstance) {
			sInstance = new PersonManager();
		}// end if
		
		return sInstance;
	}
	
	private void dump()
	{
		System.out.println(firstPerson.getAge());
	}
	
	public static void main(String args[]){
		
		PersonManager pm = new PersonManager();
		pm.dump();
	}
}
